Optimal. Leaf size=125 \[ \frac {-a-b x^3}{3 a x^3 \sqrt {a^2+2 a b x^3+b^2 x^6}}-\frac {b \left (a+b x^3\right ) \log (x)}{a^2 \sqrt {a^2+2 a b x^3+b^2 x^6}}+\frac {b \left (a+b x^3\right ) \log \left (a+b x^3\right )}{3 a^2 \sqrt {a^2+2 a b x^3+b^2 x^6}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.03, antiderivative size = 122, normalized size of antiderivative = 0.98, number of steps
used = 4, number of rules used = 3, integrand size = 26, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.115, Rules used = {1369, 272, 46}
\begin {gather*} -\frac {a+b x^3}{3 a x^3 \sqrt {a^2+2 a b x^3+b^2 x^6}}-\frac {b \log (x) \left (a+b x^3\right )}{a^2 \sqrt {a^2+2 a b x^3+b^2 x^6}}+\frac {b \left (a+b x^3\right ) \log \left (a+b x^3\right )}{3 a^2 \sqrt {a^2+2 a b x^3+b^2 x^6}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 46
Rule 272
Rule 1369
Rubi steps
\begin {align*} \int \frac {1}{x^4 \sqrt {a^2+2 a b x^3+b^2 x^6}} \, dx &=\frac {\left (a b+b^2 x^3\right ) \int \frac {1}{x^4 \left (a b+b^2 x^3\right )} \, dx}{\sqrt {a^2+2 a b x^3+b^2 x^6}}\\ &=\frac {\left (a b+b^2 x^3\right ) \text {Subst}\left (\int \frac {1}{x^2 \left (a b+b^2 x\right )} \, dx,x,x^3\right )}{3 \sqrt {a^2+2 a b x^3+b^2 x^6}}\\ &=\frac {\left (a b+b^2 x^3\right ) \text {Subst}\left (\int \left (\frac {1}{a b x^2}-\frac {1}{a^2 x}+\frac {b}{a^2 (a+b x)}\right ) \, dx,x,x^3\right )}{3 \sqrt {a^2+2 a b x^3+b^2 x^6}}\\ &=-\frac {a+b x^3}{3 a x^3 \sqrt {a^2+2 a b x^3+b^2 x^6}}-\frac {b \left (a+b x^3\right ) \log (x)}{a^2 \sqrt {a^2+2 a b x^3+b^2 x^6}}+\frac {b \left (a+b x^3\right ) \log \left (a+b x^3\right )}{3 a^2 \sqrt {a^2+2 a b x^3+b^2 x^6}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.01, size = 54, normalized size = 0.43 \begin {gather*} -\frac {\left (a+b x^3\right ) \left (a+3 b x^3 \log (x)-b x^3 \log \left (a+b x^3\right )\right )}{3 a^2 x^3 \sqrt {\left (a+b x^3\right )^2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.16, size = 52, normalized size = 0.42
method | result | size |
default | \(\frac {\left (b \,x^{3}+a \right ) \left (b \ln \left (b \,x^{3}+a \right ) x^{3}-3 b \ln \left (x \right ) x^{3}-a \right )}{3 \sqrt {\left (b \,x^{3}+a \right )^{2}}\, a^{2} x^{3}}\) | \(52\) |
risch | \(-\frac {\sqrt {\left (b \,x^{3}+a \right )^{2}}}{3 \left (b \,x^{3}+a \right ) a \,x^{3}}-\frac {\sqrt {\left (b \,x^{3}+a \right )^{2}}\, b \ln \left (x \right )}{\left (b \,x^{3}+a \right ) a^{2}}+\frac {\sqrt {\left (b \,x^{3}+a \right )^{2}}\, b \ln \left (-b \,x^{3}-a \right )}{3 \left (b \,x^{3}+a \right ) a^{2}}\) | \(95\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.29, size = 73, normalized size = 0.58 \begin {gather*} \frac {\left (-1\right )^{2 \, a b x^{3} + 2 \, a^{2}} b \log \left (\frac {2 \, a b x}{{\left | x \right |}} + \frac {2 \, a^{2}}{x^{2} {\left | x \right |}}\right )}{3 \, a^{2}} - \frac {\sqrt {b^{2} x^{6} + 2 \, a b x^{3} + a^{2}}}{3 \, a^{2} x^{3}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.36, size = 33, normalized size = 0.26 \begin {gather*} \frac {b x^{3} \log \left (b x^{3} + a\right ) - 3 \, b x^{3} \log \left (x\right ) - a}{3 \, a^{2} x^{3}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.15, size = 31, normalized size = 0.25 \begin {gather*} - \frac {1}{3 a x^{3}} - \frac {b \log {\left (x \right )}}{a^{2}} + \frac {b \log {\left (\frac {a}{b} + x^{3} \right )}}{3 a^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 4.11, size = 50, normalized size = 0.40 \begin {gather*} \frac {1}{3} \, {\left (\frac {b \log \left ({\left | b x^{3} + a \right |}\right )}{a^{2}} - \frac {3 \, b \log \left ({\left | x \right |}\right )}{a^{2}} + \frac {b x^{3} - a}{a^{2} x^{3}}\right )} \mathrm {sgn}\left (b x^{3} + a\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 1.40, size = 75, normalized size = 0.60 \begin {gather*} \frac {a\,b\,\mathrm {atanh}\left (\frac {a^2+b\,a\,x^3}{\sqrt {a^2}\,\sqrt {a^2+2\,a\,b\,x^3+b^2\,x^6}}\right )}{3\,{\left (a^2\right )}^{3/2}}-\frac {\sqrt {a^2+2\,a\,b\,x^3+b^2\,x^6}}{3\,a^2\,x^3} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________